/* 基础样式 */
.container {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #F2F3F5;
  color: #1D2129;
  min-height: 100vh;
  max-width: 750rpx;
  margin: 0 auto;
  position: relative;
}

/* 头部样式 */
.header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E5E6EB;
  padding: 30rpx 40rpx;
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-btn {
  color: #86909C;
  width: 40rpx;
}

.title {
  font-size: 32rpx;
  font-weight: 500;
  color: #1D2129;
}

.placeholder {
  width: 40rpx;
}

/* 主内容区样式 */
.main {
  padding-bottom: 160rpx;
}

/* 用户信息样式 */
.user-info {
  background-image: url(/static/assets/mybg.png);
  background-size: 100%;
  color: #FFFFFF;
  padding: 40rpx;
  display: flex;
  align-items: center;
}

.avatar-wrapper {
  width: 120rpx;
  height: 120rpx;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30rpx;
}

.user-name {
  font-size: 36rpx;
  font-weight: 500;
  display: block;
}

.user-status {
	display: flex;
	justify-content: center;
	align-items: center;
  font-size: 28rpx;
  margin-top: 10rpx;
  color: #fa3534;
}

/* 功能列表样式 */
.function-list {
  padding: 30rpx 40rpx;
}

.function-item {
  background-color: #FFFFFF;
  border-radius: 16rpx;
  padding: 30rpx;
  margin-bottom: 30rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

/* .function-item:hover {
  background-color: #F2F3F5;
} */

.item-icon {
  width: 60rpx;
  height: 60rpx;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30rpx;
}

.personal-icon {
  background-color: rgba(22, 93, 255, 0.1);
  color: #165DFF;
}

.success-icon {
  background-color: rgba(0, 180, 42, 0.1);
  color: #00B42A;
}

.warning-icon {
  background-color: rgba(255, 125, 0, 0.1);
  color: #FF7D00;
}

.item-text {
  font-size: 30rpx;
  flex: 1;
}

.status-text {
  font-size: 28rpx;
}

.success {
  color: #00B42A;
}

.warning {
  color: #FF7D00;
}

.unit-count {
  display: flex;
  align-items: center;
  color: #4E5969;
  font-size: 28rpx;
}

.count-text {
  margin-right: 10rpx;
}

/* 页面样式 */
.page {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background-color: #FFFFFF; */
  background-color: #f5f5f5;
  z-index: 20;
  transform: translateX(100%);
  transition: all 0.3s ease-in-out;
  max-width: 750rpx;
  margin: 0 auto;
}

.page.show {
  transform: translateX(0);
}

.page-content {
  padding: 40rpx;
}

/* 个人资料页面样式 */
.info-item {
  padding: 30rpx 0;
  border-bottom: 1px solid #E5E6EB;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info-item:last-child {
  border-bottom: none;
}

.info-label {
  color: #4E5969;
  font-size: 30rpx;
}

.info-value {
  font-size: 30rpx;
  text-align: right;
}

.clickable {
  cursor: pointer;
}

.edit-btn {
  width: 100%;
  background-color: #165DFF;
  color: #FFFFFF;
  padding: 30rpx 0;
  border-radius: 16rpx;
  font-size: 30rpx;
  font-weight: 500;
  margin-top: 60rpx;
  text-align: center;
}

/* 授权管理页面样式 */
.auth-item {
  background-color: #FFFFFF;
  border-radius: 16rpx;
  padding: 30rpx;
  margin-bottom: 20rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
}

.auth-icon {
  background-color: rgba(22, 93, 255, 0.1);
  color: #165DFF;
}

/* 常用报销单位页面样式 */
.add-unit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: rgba(22, 93, 255, 0.1);
  color: #165DFF;
  padding: 30rpx 0;
  border-radius: 16rpx;
  font-size: 30rpx;
  font-weight: 500;
  margin-bottom: 40rpx;
}

.units-list {
  
}

.unit-item {
	margin: 20rpx 0;
  background-color: #FFFFFF;
  border-radius: 16rpx;
  padding: 30rpx;
  box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
}

.unit-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20rpx;
}

.unit-name {
  font-size: 30rpx;
  font-weight: 500;
  display: block;
}

.unit-location {
  color: #4E5969;
  font-size: 26rpx;
  margin-top: 10rpx;
  display: block;
}

.default-tag {
  background-color: rgba(22, 93, 255, 0.1);
  color: #165DFF;
  font-size: 24rpx;
  padding: 4rpx 16rpx;
  border-radius: 50rpx;
  height: 50%;
}

.unit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 30rpx;
  padding-top: 20rpx;
  border-top: 1px solid #F2F3F5;
}

.action-btn {
  font-size: 26rpx;
  display: flex;
  align-items: center;
}

.set-default {
  color: #165DFF;
}

.delete {
  color: #F53F3F;
}

/* 表单样式 */
.form-group {
  margin-bottom: 40rpx;
}

.form-label {
  display: block;
  color: #4E5969;
  font-size: 28rpx;
  margin-bottom: 16rpx;
}

.form-input {
  width: 100%;
  padding: 30rpx;
  border: 1px solid #E5E6EB;
  border-radius: 16rpx;
  font-size: 30rpx;
}

.form-input:focus {
  outline: none;
  border-color: #165DFF;
  box-shadow: 0 0 0 4rpx rgba(22, 93, 255, 0.3);
}

.error-text {
  color: #F53F3F;
  font-size: 24rpx;
  margin-top: 10rpx;
  display: block;
}

.submit-btn {
  width: 100%;
  background-color: #165DFF;
  color: #FFFFFF;
  padding: 30rpx 0;
  border-radius: 16rpx;
  font-size: 30rpx;
  font-weight: 500;
  margin-top: 20rpx;
}

/* 底部样式 */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 750rpx;
  margin: 0 auto;
  background-color: #FFFFFF;
  border-top: 1px solid #E5E6EB;
  padding: 24rpx 40rpx;
  z-index: 10;
}
	/* 输入框样式 */
	.input-item {
		height: 90rpx;
		font-size: 28rpx;
		border-radius: 10rpx;
		background-color: #f9f9f9;
	}
.logout-btn {
  display: block;
  width: 100%;
  background-color: #165DFF;
  color: #FFFFFF;
  padding: 30rpx 0;
  border-radius: 16rpx;
  font-size: 30rpx;
  font-weight: 500;
  text-align: center;
}
.blackView {
		position: fixed;
		bottom: 0rpx;
		width: 100%;
		height: 100rpx;
		background: rgba(0, 0, 0, 0.78);
		/*opacity:0.78;*/
		display: flex;
		align-items: center;
		flex-direction: row;
	}
	
	.blackText {
		margin-left: 36rpx;
		font-size: 30rpx;
		font-family: PingFang SC;
		font-weight: 400;
		color: rgba(255, 255, 255, 1);
		flex-direction: row;
		flex: 1;
	}
	
	.loginBtn {
		width: 172rpx;
		height: 56rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		background: #3765FF;
		border-radius: 28rpx;
		margin-right: 30rpx;
	}
	
	.loginText {
		font-size: 26rpx;
		font-family: PingFang SC;
		font-weight: 400;
		color: rgba(255, 255, 255, 1);
	}